import React from 'react';

import styles from '../index.less';

const Card = ({ title, children }) => (
    <div className={styles.cardWrapper}>
        <header className={styles.cardTitle}>
            <p>{title}</p>
        </header>
        <div className={styles.cardBody}>{children}</div>
    </div>
);

export default Card;
